.class final Lcom/ninesky/browser/view/bm;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/view/e;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/view/e;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 3

    packed-switch p3, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->c(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "BookmarkButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_1
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v1}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v1

    const-class v2, Lcom/ninesky/browser/DownloadActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v1}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/ninesky/browser/BrowserActivity;->startActivity(Landroid/content/Intent;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "DownloadButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/BrowserActivity;->c(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "HistoryButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_3
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v1}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v1

    const-class v2, Lcom/ninesky/browser/readinglist/ReadingListActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v1}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v1

    const/4 v2, 0x6

    invoke-virtual {v1, v0, v2}, Lcom/ninesky/browser/BrowserActivity;->startActivityForResult(Landroid/content/Intent;I)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "ReadingListButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :pswitch_4
    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    sget-object v2, Lcom/ninesky/browser/a/g;->c:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "?sid="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v2

    invoke-virtual {v2}, Lcom/ninesky/browser/user/g;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/TabControl;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "FeedBackButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_5
    invoke-static {}, Lcom/ninesky/browser/TabControl;->a()Lcom/ninesky/browser/TabControl;

    move-result-object v0

    const-string v1, "https://market.android.com/details?id=com.ninesky.browser"

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/TabControl;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/view/bm;->a:Lcom/ninesky/browser/view/e;

    invoke-static {v0}, Lcom/ninesky/browser/view/e;->b(Lcom/ninesky/browser/view/e;)Lcom/ninesky/browser/BrowserActivity;

    move-result-object v0

    const-string v1, "Dashboard"

    const-string v2, "RateMeButton"

    invoke-static {v0, v1, v2}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
    .end packed-switch
.end method
